#!/usr/bin/php
<?php
require_once(dirname(__FILE__)."/../src_v2/classes/init.php");

$ip_block = new IPBlock( 
    null,
    'Testblock',
    null,
    '10.10.10.10',
    'This is just a test',
    0,
    0,
    1
    );

$dbl = $PARAPARA->dblayer;
$ip_block = $dbl->save_ipblock( $ip_block );
$dbl->dump_info();

#$ip_block->name = "testblock changedname";
#$ip_block = $dbl->save_ipblock( $ip_block );

?>